package com.xiaoma.weblog.admin.event;

import lombok.Data;
import lombok.Getter;
import org.springframework.context.ApplicationEvent;

/**
 * @ClassName ReadArticleEvent
 * @Description:
 * @Author: 小马
 * @CreateDate: 2025/3/28 15:49
 * @Version: 1.0
 */
@Getter
public class ReadArticleEvent extends ApplicationEvent {
    /**
     * 文章 ID
     */
    private Long articleId;

    public ReadArticleEvent(Object source, Long articleId) {
        super(source);
        this.articleId = articleId;
    }
}